package com.sfzy.mapper;

import com.sfzy.entity.Search;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SearchMapper {
    int addSearch(Search search);
    int deleteSearch(int id);
    int updateSearch(Search search);
    Search getById(int id);
    List<Search> getByPage(Search search);
}
